/*
 * @Author: Dufen~123 dufen.0
 * @Date: 2024-11-26 15:28:40
 * @LastEditors: Dufen~123 dufen.0
 * @LastEditTime: 2024-12-27 16:41:33
 * @FilePath: \my-app\src\config\index.js
 * @Description: 
 * */
export default  [
    {
        path: '/home',
        name: 'home',
        label: '首页',
        icon: 'HomeOutlined',
        url: '/home/index'
    },
    {
        path: '/mall',
        name: 'mall',
        label: '商品管理',
        icon: 'ShopOutlined',
        url: '/mall/index'
    },
    {
        path: '/user',
        name: 'user',
        label: '用户管理',
        icon: 'UserOutlined',
        url: '/user/index'
    },
    {
        path: '/other',
        label: '其他',
        icon: 'SettingOutlined',
        children: [
        {
            path: '/other/pageOne',
            name: 'page1',
            label: '页面1',
            icon: 'BorderOuterOutlined'
        },
        {
            path: '/other/pageTwo',
            name: 'page2',
            label: '页面2',
            icon: 'PicRightOutlined'
        },  {
            path: '/other/UseEffect',
            name: 'page3',
            label: 'UseEffect理解',
            icon: 'LogoutOutlined'
        },
        {
            path: '/other/Parent',
            name: 'page4',
            label: '父向子组件传值',
            icon: 'PicLeftOutlined'
        },
        {
            path: '/other/Parent2',
            name: 'page4',
            label: '父向子传函数',
            icon: 'RadiusUprightOutlined'
        },
        {
            path: '/other/Parent3',
            name: 'page4',
            label: '子向子传参',
            icon: 'FullscreenOutlined'
        },
        {
            path: '/other/Parent4',
            name: 'page4',
            label: '子向子传函数',
            icon: 'BorderOuterOutlined'
        },
        ]
    },
    {
        path: '/newPage',
        name: 'newPage',
        label: '新页面',
        icon: 'HighlightOutlined',
        url: '/newPage/index'
    },
    {
        path: '/Rule',
        label: '规则管理',
        icon: 'InfoCircleOutlined',
        children: [
        {
            path: '/Rule/rulePage',
            name: 'rulePage',
            label: '规则页面',
            icon: 'PlusSquareOutlined',
        },
        {
            path: '/Rule/Practice',
            name: 'Practice',
            label: '练习页面',
            icon: 'IssuesCloseOutlined',
        }
        ],
       
    },
]